package com.YxyBackMange.Service.App.Impl;
import com.YxyBackMange.Entity.App.AppDictCodeType;
import com.YxyBackMange.Mapper.App.AppDictCodeTypeMapper;
import com.YxyBackMange.Service.App.AppDictCodeTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AppDictCodeTypeServiceImpl implements AppDictCodeTypeService{
	
	@Autowired
    private AppDictCodeTypeMapper appDictCodeTypeMapper;
    
   @Override
   public AppDictCodeType insertService(AppDictCodeType appDictCodeType){
        appDictCodeTypeMapper.insertSelective(appDictCodeType);
	   return appDictCodeType;
	   
   };
   @Override
   public AppDictCodeType updateService(AppDictCodeType appDictCodeType){
	     appDictCodeTypeMapper.updateByPrimaryKeySelective(appDictCodeType);
        return appDictCodeType;
   };
    @Override
    public AppDictCodeType update(AppDictCodeType appDictCodeType) {
        appDictCodeTypeMapper.updateByPrimaryKeySelective(appDictCodeType);
        return appDictCodeType;
    }
   @Override
   public AppDictCodeType delete(AppDictCodeType appDictCodeType){

	     appDictCodeTypeMapper.delete(appDictCodeType);
        return appDictCodeType;
   };
    @Override
    public AppDictCodeType insert(AppDictCodeType appDictCodeType){

        appDictCodeTypeMapper.insertSelective(appDictCodeType);
        return appDictCodeType;

        };
}
